package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺表
 * </p>
 *
 * @author lcc
 * @since 2020-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BmsBusiness implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 简名（缩写）
     */
    private String singleName;

    /**
     * 商家名称
     */
    private String vendorName;

    /**
     * 地址-省份
     */
    private String addrProvince;

    /**
     * 地址-城市
     */
    private String addrCity;

    /**
     * 地址-地区
     */
    private String addrDistrict;

    /**
     * 地址
     */
    private String addrDetails;

    /**
     * 类型
     */
    private String tags;

    /**
     * 标签
     */
    private String label;

    /**
     * 新增或者更新时间
     */
    private LocalDateTime newTime;

    /**
     * 是否删除（1删除）
     */
    private Integer isDelete;

    /**
     * 被打卡次数
     */
    private Integer dkTimes;

    /**
     * 纬度
     */
    private String latitude;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 商家logo图
     */
    private String logoUrl;

    /**
     * 店内环境照片
     */
    private String environmentImg;

    /**
     * 菜单照片
     */
    private String menuImg;

    /**
     * 门头照片
     */
    private String storeImg;

    /**
     * 门店图片1
     */
    private String frontImg1;

    /**
     * 门店图片2
     */
    private String frontImg2;

    /**
     * 是否认证（0未认领，1已认证，2已认领）
     */
    private Integer isAuth;

    /**
     * 营业时间
     */
    private String businessHours;

    /**
     * 营业时间（开始时间）
     */
    private Long startHours;

    /**
     * 营业时间（结束时间）
     */
    private Long endHours;

    /**
     * 联系人
     */
    private String contactMan;

    /**
     * 商家电话
     */
    private String phone;

    /**
     * 下架原因
     */
    private String unloadCause;

    /**
     * 下架类型(0正常 1报错)
     */
    private Integer unloadType;

    /**
     * 下架时间
     */
    private LocalDateTime unloadTime;

    /**
     * 是否下架(0否)
     */
    private Integer isUnload;

    /**
     * 下架人员
     */
    private String unloadAgentId;

    /**
     * 营业状态 0营业中 1已结业 2未开业3整改中
     */
    private Integer operatingState;

    /**
     * 店铺名称上次更新时间
     */
    private LocalDateTime vendorNameUpdateTime;

    /**
     * 粉丝数
     */
    private Integer fansNum;

    /**
     * 群发权限（0：禁用；1：有权限）
     */
    private Integer ableSend;

    /**
     * 禁止群发权限时间
     */
    private LocalDateTime banSendTime;

    /**
     * 评论权限（0：禁用；1：有权限）
     */
    private Integer ableComment;

    /**
     * 禁止评论权限时间
     */
    private LocalDateTime banCommentTime;

    /**
     * 发布视频权限（0：禁用；1：有权限）
     */
    private Integer ableVideo;

    /**
     * 禁止发布视频权限时间
     */
    private LocalDateTime banVideoTime;

    /**
     * 修改信息权限（0：禁用；1：有权限）
     */
    private Integer ableMessage;

    /**
     * 禁止修改信息权限时间
     */
    private LocalDateTime banMessageTime;

    /**
     * 优惠买单权限（0：禁用；1：有权限）
     */
    private Integer ablePay;

    /**
     * 禁止优惠买单权限时间
     */
    private LocalDateTime banPayTime;

    /**
     * 优惠团购权限
     */
    private Integer ableGroupBuy;

    /**
     * 禁止优惠团购权限时间
     */
    private LocalDateTime banGroupBuyTime;

    /**
     * 审核状态（0：待审核；1：驳回；2：通过）
     */
    private Integer status;

    /**
     * 审核时间
     */
    private LocalDateTime auditTime;

    /**
     * 是否开启订单功能（0：否，1：是）
     */
    private Integer isOpenOrder;

    /**
     * 商圈
     */
    private Integer areaId;

    /**
     * 处理过经纬度的店铺
     */
    private Integer isHandleLatLng;

    /**
     * 是否开通买单（0：未开通，1：已开通）
     */
    private Integer isOpenCoupon;

    /**
     * 是否开通团购（0：未开通，1：已开通）
     */
    private Integer isOpenGroupBuy;


    public static final String ID = "id";

    public static final String SINGLE_NAME = "single_name";

    public static final String VENDOR_NAME = "vendor_name";

    public static final String ADDR_PROVINCE = "addr_province";

    public static final String ADDR_CITY = "addr_city";

    public static final String ADDR_DISTRICT = "addr_district";

    public static final String ADDR_DETAILS = "addr_details";

    public static final String TAGS = "tags";

    public static final String LABEL = "label";

    public static final String NEW_TIME = "new_time";

    public static final String IS_DELETE = "is_delete";

    public static final String DK_TIMES = "dk_times";

    public static final String LATITUDE = "latitude";

    public static final String LONGITUDE = "longitude";

    public static final String LOGO_URL = "logo_url";

    public static final String ENVIRONMENT_IMG = "environment_img";

    public static final String MENU_IMG = "menu_img";

    public static final String STORE_IMG = "store_img";

    public static final String FRONT_IMG1 = "front_img1";

    public static final String FRONT_IMG2 = "front_img2";

    public static final String IS_AUTH = "is_auth";

    public static final String BUSINESS_HOURS = "business_hours";

    public static final String START_HOURS = "start_hours";

    public static final String END_HOURS = "end_hours";

    public static final String CONTACT_MAN = "contact_man";

    public static final String PHONE = "phone";

    public static final String UNLOAD_CAUSE = "unload_cause";

    public static final String UNLOAD_TYPE = "unload_type";

    public static final String UNLOAD_TIME = "unload_time";

    public static final String IS_UNLOAD = "is_unload";

    public static final String UNLOAD_AGENT_ID = "unload_agent_id";

    public static final String OPERATING_STATE = "operating_state";

    public static final String VENDOR_NAME_UPDATE_TIME = "vendor_name_update_time";

    public static final String FANS_NUM = "fans_num";

    public static final String ABLE_SEND = "able_send";

    public static final String BAN_SEND_TIME = "ban_send_time";

    public static final String ABLE_COMMENT = "able_comment";

    public static final String BAN_COMMENT_TIME = "ban_comment_time";

    public static final String ABLE_VIDEO = "able_video";

    public static final String BAN_VIDEO_TIME = "ban_video_time";

    public static final String ABLE_MESSAGE = "able_message";

    public static final String BAN_MESSAGE_TIME = "ban_message_time";

    public static final String ABLE_PAY = "able_pay";

    public static final String BAN_PAY_TIME = "ban_pay_time";

    public static final String ABLE_GROUP_BUY = "able_group_buy";

    public static final String BAN_GROUP_BUY_TIME = "ban_group_buy_time";

    public static final String STATUS = "status";

    public static final String AUDIT_TIME = "audit_time";

    public static final String IS_OPEN_ORDER = "is_open_order";

    public static final String AREA_ID = "area_id";

    public static final String IS_HANDLE_LAT_LNG = "is_handle_lat_lng";

    public static final String IS_OPEN_COUPON = "is_open_coupon";

    public static final String IS_OPEN_GROUP_BUY = "is_open_group_buy";

}
